﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WFClient
{
    public static class ByteExtend
    {
        public static string ValueToX2String(this byte[] parameter)
        {
            var bb = new StringBuilder();
            foreach (byte t in parameter)
            {
                bb.Append(t.ToString("X2"));
            }
            return bb.ToString();
        }
    }
}
